Inside Macintosh: Sound

| Previous | Chapter contents | Chapter top | Section top | Next |

Obtaining Sound-Related Information

Developments in the sound hardware available on Macintosh computers and in the Sound Manager routines that allow you to drive that hardware have made it imperative that your application pay close attention to the sound-related features of the operating environment. For example, some Macintosh computers do not have the sound input hardware necessary to allow sound recording. Similarly, some other Macintosh computers are not able to record sounds and play sounds simultaneously. Before taking advantage of a sound-related feature that is not available on all Macintosh computers, you should check to make sure that the target machine provides the features you need.

To make appropriate decisions about the sound you want to produce, you might need to know some or all of the following types of information:

The following sections describe how to use the Gestalt function and Sound Manager routines to determine these types of information.

Obtaining Information About Available Sound Features

Obtaining Version Information

Testing for Multichannel Sound and Play-From-Disk Capabilities

Obtaining Information About a Single Sound Channel

Obtaining Information About All Sound Channels

Determining and Changing the Status of the System Alert Sound


© 1998 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |